<%@ page import="java.util.Map" %>
<%@ page import="java.util.List" %>
<%@ page import="java.io.IOException" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <link rel="stylesheet" href="css/index.css">
</head>

<body>

<%
    List<Map<String,Object>> list = (List<Map<String,Object>>)request.getAttribute("ss");
    //list.forEach(out::println);
    for (Map<String, Object> m : list) {
        out.print(m.get("name")+"<br>");
    }

%>
<hr>

<%
    int i = 100;
    pageContext.setAttribute("ii",i);
%>

<!-- jstl 核心标签库，EL  -->
<c:forEach items="${ss}" var="stu">
    <h3>${stu.name}</h3>
    <img src="upload/${stu.ufile}.jpg" alt="">
</c:forEach>

<hr>
<%
    out.print(i);
%>
<%=i%>
${ii}
</body>
</html>
